GTKWave is a free/open waveform viewer.

The currently available package for Kubuntu 9.10 Karmic Koala environment I'm using is an old version, so I'm collecting some notes here on how to get it compiled/installed from the 3.3.10 source code. (I've previously gone through QFSM and other tool compiles so this may only list what has not yet been corrected by them. I don't think I'll uninstall everything to check this is comprehensive to this tool alone)

Additional Ubuntu packages I needed to install before being able to compile the GTKWave sources:
Package Name
Fixes Problem
gperf
In file included from /home/bill/Downloads/t/dinotrace-9.4b/src/dt_binary.c:57:
/home/bill/Downloads/t/dinotrace-9.4b/src/dinotrace.h:101:19: error: Xm/Xm.h: No such file or directory
lzma (remove)
need to remove in order to install xz-utils which succeeds lzma. DANGER - this removed a bunch of dependencies that made me not able to install anything at all anymore! Booo... Off to salvage the machine. DO NOT remove lzma using KPackageKit. Use apt-get to install xz-utils and let it do the swap.
xz-utils
configure: error: LZMA support for VZT is enabled, but xz could not be found.
Please install xz, see the http://tukaani.org/xz website or use the --disable-xz flag.
Hmmm, I installed xz-utils using apt-get (and swapped out old lzma in the process) but this error is still here. :(
flex
checking for flex... no
checking for lex... no

checking for fsdbdebug... notfound
libbz2-dev
checking for BZ2_bzread in -lbz2... no
export PKG_CONFIG=/usr/bin/pkg-config
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.
libgtk2.0-dev

tcl8.4-dev
checking for Tcl configuration... configure: WARNING: Tcl not found, skipping.
tk8.4-dev
checking for Tk configuration... configure: WARNING: Can't find Tk configuration definitions

My configure command line:
./configure --disable-xz --with-tcl=/usr/lib64/tcl8.4 --with-tk=/usr/lib64/tk8.4